!
version 15.0
no service timestamps log datetime msec
no service timestamps debug datetime msec
service password-encryption
!
hostname S1
!
enable secret 5 $1$mERr$fhfQ8owf6EcHw4lWPSe2f0
!
!
!
ip ssh version 2
ip ssh authentication-retries 2
ip ssh time-out 90
no ip domain-lookup
ip domain-name ccnasecurity.com
!
username ayush secret 5 $1$mERr$PrA0bR3RE94SApHY0kg/L1
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
interface FastEthernet0/1
!
interface FastEthernet0/2
 shutdown
!
interface FastEthernet0/3
 shutdown
!
interface FastEthernet0/4
 shutdown
!
interface FastEthernet0/5
 shutdown
!
interface FastEthernet0/6
 switchport mode access
 switchport port-security
 switchport port-security mac-address sticky 
 switchport port-security mac-address sticky 0001.970B.B094
 spanning-tree portfast
 spanning-tree bpduguard enable
!
interface FastEthernet0/7
 shutdown
!
interface FastEthernet0/8
 shutdown
!
interface FastEthernet0/9
 shutdown
!
interface FastEthernet0/10
 shutdown
!
interface FastEthernet0/11
 shutdown
!
interface FastEthernet0/12
 shutdown
!
interface FastEthernet0/13
 shutdown
!
interface FastEthernet0/14
 shutdown
!
interface FastEthernet0/15
 shutdown
!
interface FastEthernet0/16
 shutdown
!
interface FastEthernet0/17
 shutdown
!
interface FastEthernet0/18
 shutdown
!
interface FastEthernet0/19
 shutdown
!
interface FastEthernet0/20
 shutdown
!
interface FastEthernet0/21
 shutdown
!
interface FastEthernet0/22
 shutdown
!
interface FastEthernet0/23
 shutdown
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
 shutdown
!
interface GigabitEthernet0/2
 shutdown
!
interface Vlan1
 ip address 192.168.2.11 255.255.255.0
!
ip default-gateway 192.168.2.1
!
banner motd $Unauthorized access strictly prohibited!$
!
!
!
line con 0
 logging synchronous
 login local
 exec-timeout 5 0
 privilege level 15
!
line vty 0 4
 exec-timeout 5 0
 login local
 transport input ssh
 privilege level 15
line vty 5 15
 exec-timeout 5 0
 login local
 transport input ssh
 privilege level 15
!
!
!
!
end

